﻿<?xml version="1.0" encoding="UTF-8" ?>
<Module>
  <ModulePrefs title="Twitter"
               height="250"
               scaling="false"
               author="Szacsúri László, SBPweb tech"
               author_email="szacsuri@sbpweb.hu"
               title_url="http://twitter.sbpweb.hu"
               author_link="http://www.sbpweb.hu"
               author_photo="http://www.sbpweb.hu/files/LSz_128x128.jpg">
    <Require feature="views" />
    <Require feature="setprefs" />
  </ModulePrefs>
  <UserPref name="twitterUserName" display_name="Username" default_value="szacsuri@sbpweb.hu" datatype="hidden" />
  <UserPref name="twitterPassword" display_name="Password" default_value="twitter123" datatype="hidden" />
  <Content type="html" view="canvas">
    <![CDATA[ 
    <!--iframe id="ifDefault" src="http://twitter.sbpweb.hu/Default.aspx" frameborder="no" scrolling="no"></iframe-->
    <script type="text/javascript" src="http://twitter.sbpweb.hu/OpenSocial/TwitterGadget.js" />
    ]]>
  </Content>
  <Content type="html" view="profile">
    <![CDATA[
    <div class="inner">
      <table class="datasheet">
          <tr class="row row_separeted">
              <td class="rcaption">
                  <p>Felhasználói név</p>
              </td>
              <td class="rinput">
                  <p>
                      <input id="tbUserName" />
                  </p>
              </td>
          </tr>
          <tr class="row row_separeted">
              <td class="rcaption">
                  <p>Jelszó</p>
              </td>
              <td class="rinput">
                  <p>
                      <input id="tbPassword" type="password" />
                  </p>
              </td>
          </tr>
          <tr class="row row_separeted">
              <td class="rcaption">
                  <p>Jelszó mégegyszer</p>
              </td>
              <td class="rinput">
                  <p>
                      <input id="tbPasswordAgain" type="password" />
                  </p>
              </td>
          </tr>
          <tr class="row row_separeted">
              <td class="rcaption">
              </td>
              <td class="rinput">
                  <p>
                      <input id="bStore" type="button" value="Mentés" onclick="javascript: return storeProfile();" />
                  </p>
              </td>
          </tr>
      </table>
    </div>
    <!--iframe id="ifProfile" src="http://twitter.sbpweb.hu/Profile.aspx" frameborder="no" scrolling="no"></iframe-->
    <script type="text/javascript" src="http://twitter.sbpweb.hu/OpenSocial/TwitterGadget.js" />
    ]]>
  </Content>
</Module>